﻿
using MediatR;
using SCM.ErrorCode;
using SCM.Extensions.Ledger;

namespace SCM.API.Read.Application.Command.Ledger
{
    public class GetDistributeCommand:IRequest<APIPaging<DistributeDTO>>
    {
        public int PageIndex { get; set; } = 1;
        public int PageSize { get; set; } = 15;
        /// <summary>
        /// 仓库编号
        /// </summary>
        public int? DepotId { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? DepotName { get; set; }
        /// <summary>
        /// 库位编号
        /// </summary>
        public int? LocationId { get; set; }
        /// <summary>
        /// 库位名称
        /// </summary>
        public string? LocationName { get; set; }
    }
}
